﻿using StockholmsStad.Windows.UI.Modules.Maintenance.Interfaces;
using StockholmsStad.Windows.UI.Modules.Maintenance.Models;

namespace StockholmsStad.Windows.UI.Modules.Maintenance.Views
{
    /// <summary>
    /// Interaction logic for TabItemFilingView.xaml
    /// </summary>
    public partial class TabItemFilingView : IFilingView
    {
        public TabItemFilingView()
        {
            InitializeComponent();
        }

        #region IFilingView Members

        public FilingPresentationModel Model
        {
            get { return DataContext as FilingPresentationModel; }
            set { DataContext = value; }
        }

        public void SetContent(IFilingListView couplesListView)
        {
            HeaderPanel.Content = couplesListView;
        }
        
        #endregion

    }
}
